<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $title_for_layout ?></title>

<?php echo js_asset('jquery-1.4.1.min.js'); ?>
<?php echo css_asset('common.global.css'); ?>
<?php echo css_asset('main.css'); ?>
<?php echo js_asset('jquery.min.js'); ?>
<?php echo css_asset('ddsmoothmenu.css'); ?>
<?php echo css_asset('ddsmoothmenu-v.css'); ?>
<?php echo js_asset('ddsmoothmenu.js'); ?>
<?php echo js_asset('menuinit.js'); ?>

</head>

<body class="oneColFixCtrHdr">

<div id="container">
                                           <?php $ci =& get_instance(); ?>
  <div id="userInfo">You are logged in as: <?php echo $ci->session->userdata('DX_username') ?></div>
  <div id="header">
    <h1>Voting System</h1>
  </div>
  <div id="hi" style="height:30px">
  <div id="smoothmenu1" class="ddsmoothmenu">
	    	<ul>
				<li><?php echo anchor('welcome/index', 'Home') ?></li>
				<li><?php echo anchor('events/index', 'Events') ?></li>
				<li><?php echo anchor('auth/logout', 'Logout') ?></li>
			</ul>
			<br style="clear: left" />
		</div>	
   </div>
  
  <div id="mainContent"><br/>
  	<?php echo $content_for_layout ?>
  </div>
  
  <div id="footer">
    <p>Voting System v2.0 by Jeff</p>
  </div>

</div>
</body>
</html>
